package com.itlaobing.test3;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class BufferedReaderTest {

	public static void main(String[] args) throws IOException {
		BufferedReader reader=new BufferedReader(new FileReader("poem.txt"));
		String s ;
		while((s = reader.readLine())!=null) {
			System.out.println(s);
		}
		reader.close();
	}

}
